package com.huarui.user.model;

import java.io.Serializable;
import java.util.Date;
import java.util.List;
import java.util.Set;

public class SessionMessage implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 7411695254987886591L;

	/**
	 * 用户id
	 */
	private Integer userId;
	/**
	 * 用户名称
	 */
	private String userName;
	/**
	 * 用户邮箱
	 */
	private String userEmail;
	/**
	 * 用户登入次数
	 */
	private int userLoginTimes;
	/**
	 * 用户身份证
	 */
	private String userIdent;
	/**
	 * 用户IP地址
	 */
	private String userIP;
	/**
	 * 用户拼音
	 */
	private String userPy;
	/**
	 * 用户最后一次登入时间
	 */
	private Date userLastLoginTime;
	/**
	 * 员工所在公司ID
	 */
	private Integer companyId;
	/**
	 * 公司名称
	 */
	private String companyName;
	/**
	 * 员工ID
	 */
	private Integer employeeId;
	
	private Integer authenticationCompany=0;

	public Integer getAuthenticationCompany() {
		return authenticationCompany;
	}

	public void setAuthenticationCompany(Integer authenticationCompany) {
		this.authenticationCompany = authenticationCompany;
	}

	public Integer getEmployeeId() {
		return employeeId;
	}

	public void setEmployeeId(Integer employeeId) {
		this.employeeId = employeeId;
	}

	/**
	 * 公司类型，登录时获取
	 */
	private Integer companyType=0;

	public Integer getCompanyType() {
		return companyType;
	}

	public void setCompanyType(Integer companyType) {
		this.companyType = companyType;
	}

	/**
	 * 登入状态
	 */
	private boolean logined = false;

	private String companyStatus;
	/**
	 * 员工角色
	 */
	private int roles = -1;

	private int i = 0;
	
	private Set<Integer>  colleagues;
	
	
	
	private List<Integer>  roleIds;
	


	public List<Integer> getRoleIds() {
		return roleIds;
	}

	public void setRoleIds(List<Integer> roleIds) {
		this.roleIds = roleIds;
	}

	public Set<Integer> getColleagues() {
		return colleagues;
	}

	public void setColleagues(Set<Integer> colleagues) {
		this.colleagues = colleagues;
	}

	public int getI() {
		return i;
	}

	public void setI(int i) {
		this.i = i;
	}

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getUserEmail() {
		return userEmail;
	}

	public void setUserEmail(String userEmail) {
		this.userEmail = userEmail;
	}

	public int getUserLoginTimes() {
		return userLoginTimes;
	}

	public void setUserLoginTimes(int userLoginTimes) {
		this.userLoginTimes = userLoginTimes;
	}

	public String getUserIdent() {
		return userIdent;
	}

	public void setUserIdent(String userIdent) {
		this.userIdent = userIdent;
	}

	public String getUserIP() {
		return userIP;
	}

	public void setUserIP(String userIP) {
		this.userIP = userIP;
	}

	public String getUserPy() {
		return userPy;
	}

	public void setUserPy(String userPy) {
		this.userPy = userPy;
	}

	public Date getUserLastLoginTime() {
		return userLastLoginTime;
	}

	public void setUserLastLoginTime(Date userLastLoginTime) {
		this.userLastLoginTime = userLastLoginTime;
	}

	public Integer getCompanyId() {
		return companyId;
	}

	public void setCompanyId(Integer companyId) {
		this.companyId = companyId;
	}

	public boolean isLogined() {
		return logined;
	}

	public void setLogined(boolean logined) {
		this.logined = logined;
	}

	public int getRoles() {
		return roles;
	}

	public void setRoles(int roles) {
		this.roles = roles;
	}

	public String getCompanyName() {
		return companyName;
	}

	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}

	public String getCompanyStatus() {
		return companyStatus;
	}

	public void setCompanyStatus(String companyStatus) {
		this.companyStatus = companyStatus;
	}

}
